<%--
  Created by IntelliJ IDEA.
  User: yz33233339
  Date: 2021/10/31
  Time: 22:47
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>收支记录</title>
</head>
<body>
       <table border="2" align="center">
           <tr>
               <td>收支记录编号</td>
               <td>金额</td>
               <td>日期</td>
               <td>来源</td>
               <td>消费类型</td>
               <td>收入类型</td>
               <td>删除</td>
           </tr>
           <c:forEach items="${list}" var="obj">
               <tr>
                   <td>${obj.id}</td>
                   <td>${obj.money}</td>
                   <td>${obj.date}</td>
                   <td>${obj.shop}</td>
                   <td>${obj.consumptionId}</td>
                   <td>${obj.incomeId}</td>
                   <td><a href="/myWeb/economics/delete.do?id=${obj.id}">删除</a></td>
               </tr>
           </c:forEach>
       </table>
</body>
</html>
